package com.atguigu.suger.service;

import com.atguigu.suger.bean.Kw;
import com.atguigu.suger.mapper.KwMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lizhenchao@atguigu.cn
 * @Date 2022/2/21 14:37
 */
@Service
public class KwServiceImpl implements KwService {
    
    @Autowired
    KwMapper kwMapper;
    @Override
    public List<Kw> stats(int date) {
        return kwMapper.stats(date);
    }
    
}
